package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:05 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUIListOptionDAO
    extends IDataAccessInterface<ProductUIListOption, ProductUIListOptionDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_LIST_OPTION";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_LIST_OPTION.ID";

  /** Mapped Field LIST_ID */
  static final String ListId = "PRODUCT_UI_LIST_OPTION.LIST_ID";

  /** Mapped Field DATA_VALUE */
  static final String DataValue = "PRODUCT_UI_LIST_OPTION.DATA_VALUE";

  /** Mapped Field DATA_LABEL */
  static final String DataLabel = "PRODUCT_UI_LIST_OPTION.DATA_LABEL";

  /** Mapped Field DATA_ICON */
  static final String DataIcon = "PRODUCT_UI_LIST_OPTION.DATA_ICON";

  /** Mapped Field SORT_INDEX */
  static final String SortIndex = "PRODUCT_UI_LIST_OPTION.SORT_INDEX";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_LIST_OPTION.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_LIST_OPTION.LAST_MODIFY_TIME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_LIST_OPTION.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_LIST_OPTION.REMARKS";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute listId */
    static final String ListId = "listId";

    /** Attribute dataValue */
    static final String DataValue = "dataValue";

    /** Attribute dataLabel */
    static final String DataLabel = "dataLabel";

    /** Attribute dataIcon */
    static final String DataIcon = "dataIcon";

    /** Attribute sortIndex */
    static final String SortIndex = "sortIndex";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUIListOption findById(final long id) throws Exception;
}
